/**
 * 基础（枚举）数据存储服务
 * Created by wangwj on 2016/6/4.
 */
angular.module("MetronicApp").service("EnumService", function () {
    this._data = {
        analysisIndex: [
            {"key": "1", "text": "- 不限 -"}
        ],
        area: [
            {"key": "1", "text": "石家庄市"},
            {"key": "2", "text": "唐山市"},
            {"key": "1", "text": "秦皇岛市"},
            {"key": "2", "text": "邯郸市"},
            {"key": "1", "text": "邢台市"},
            {"key": "2", "text": "保定市"},
            {"key": "1", "text": "张家口市"},
            {"key": "2", "text": "承德市"},
            {"key": "1", "text": "沧州市"},
            {"key": "2", "text": "廊坊市"},
            {"key": "1", "text": "衡水市"}
        ],
        years: [
            {"key": "2017", "text": "--2017--"},
            {"key": "2018", "text": "--2018--"}
        ],
        focus: [
            {"key":"1","text":"全部"},
            {"key":"2","text":"关注企业"}
        ]

    };
    this.get = function (key) {
        return this._data[key];
    };
});